#include"FuncStruct.h"
#include"stdio.h"
#include <stdlib.h>

int	EnQueue(LinkQueue *Q,MapTurn E)
{
	QNode *p=(QNode *)malloc(sizeof(QNode));
	if(!p)	return 0;
	p->data=E;
	p->next=NULL;
	Q->rear->next=p;
	Q->rear=p;
	return 1;
}
